package com.cos.shop.dao;

import com.cos.shop.entity.Item;

import java.lang.reflect.InvocationTargetException;
import java.sql.SQLException;
import java.util.List;

/**
 * @author: COS
 * @time: 2022/2/25 10:39
 * @description:
 */
public interface ItemDao  {

    int[] addItems(List<Item> itemList) throws SQLException;

    List<Item> getItemsByOid(String oid) throws SQLException, InvocationTargetException, IllegalAccessException;
}
